package cn.aitstone.org.domain;

import cn.aitstone.basic.domain.BaseDomain;
import lombok.Data;

import java.util.List;

/**
 * @Description: 员工实体类
 * @Author: Sheldon
 * @Version: 1.0
 * @Date:  2022/6/21 19:26
 */

@Data
public class Employee extends BaseDomain {



    // 员工名称
    private String username;
    // 员工电话
    private String phone;
    // 员工邮箱
    private String email;
    // 员工密码盐值
    private String salt;
    // 加密后的密码
    private String password;
    // 员工年龄
    private Integer age;
    // 状态：1启用，0禁用
    private Integer state = 0;
    // 所属部门Id
    private Long departmentId;
    // 登录表的主键
    private Long logininfoId;
    // 所属店铺Id
    private Long shopId;

    private Department department;
    // 二次确认密码
    private String comfirmPassword;

    private Shop shop;

    private List<Long> roles;
}
